package com.note7_10;

public class Wether {
	/*
	 * 气温，风力，pm2.5,湿度
	 */
	private double air;
	private double wind;
	private double pm;
	private double humidity;
	
	
	
	public Wether(double air,double wind,double pm,double humidity){
		this.air = air;
		this.wind = wind;
		this.pm = pm;
		this.humidity = humidity;
	}
	
	public String getAir(){
		return "，当前气温为："+air;
	}

	public String getWind() {
		return "，当前风力为："+wind;
	}

	public String getPm() {
		return "，当前pm2.5"+pm;
	}

	public String getHumidity() {
		return "，当前湿度为："+humidity;
	}

	@Override
	public String toString() {
		return "，当前气温为：" + air + "  风力为：" + wind + "  pm2.5为：" + pm + "  湿度为：" + humidity;
	}
	
	public String quit(){
		return "exit";
	}
	
	

}
